finding the mode of a data set